package com.wxy.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description:
 * @author: 狗蛋儿
 * @code：愿世间永无Bug!
 * @date: 2022-11-07 18:04
 **/
@Data
public class ConsumeVo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    private Integer uid;

    @TableField("money")
    private BigDecimal money;

    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("0是付款，1是退款")
    @TableField("type")
    private Integer type;

    @TableField("balance")
    private BigDecimal balance;

    @TableField("name")
    private String name;

}
